package HomeWork.ooday003.Animals;

public class Chicken extends Animal implements LayEggs{
    Chicken(int age,String name,String color){
        super(age,name,color);
    }
    void eat(){
        System.out.println(name+"鸡正在吃小米...");
    }
    public void layEggs(){
        System.out.println("小鸡正在下蛋...");
    }
}
